<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!-- Fixed navbar -->
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
	<div class="container">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
				<span class="sr-only">Toggle navigation</span> 
				<span class="icon-bar"></span> <span class="icon-bar"></span> 
				<span class="icon-bar"></span>
			</button>
			<a class="navbar-brand" href="#">ERP Cortume</a>
		</div>
		<div class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				
				<%-- 
				<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown">Manifesto<b class="caret"></b></a>
					<ul class="dropdown-menu">
						<li><a href="<c:url value='/manifesto/novo'/>">Novo</a></li>
						<li><a href="<c:url value='/manifesto/listar'/>">Listar</a></li>
					</ul>
				</li>
				 --%>
				
				<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown">Cliente<b class="caret"></b></a>
					<ul class="dropdown-menu">
						<li><a href="<c:url value='/cliente/novo'/>">Novo</a></li>
						<li><a href="<c:url value='/cliente/listar'/>">Listar</a></li>
					</ul>
				</li>
				
				<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown">Funcionario<b class="caret"></b></a>
					<ul class="dropdown-menu">
						<li><a href="<c:url value='/funcionario/novo'/>?newFunc=true">Novo</a></li>
						<li><a href="<c:url value='/funcionario/listar'/>">Listar</a></li>
					</ul>
				</li>
				
				<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown">Cadastros<b class="caret"></b></a>
					<ul class="dropdown-menu">
						<%-- <li><a href="<c:url value='/manifesto/novo'/>">Pedidos</a></li> --%>
						<li><a href="<c:url value='/fornecedor/novo'/>">Fornecedores</a></li>
						<%-- <li><a href="<c:url value='/cargo/novo'/>">Cargo</a></li> --%>
						<li><a href="<c:url value='/categoria/novo'/>">Categoria de Produto</a></li>
						<li><a href="<c:url value='/produto/novo'/>">Produto</a></li>
					</ul>
				</li>			
				
				<%-- <li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown">Manifesto<b class="caret"></b></a>
					<ul class="dropdown-menu">
						<li><a href="<c:url value='/manifesto/novo'/>">Novo</a></li>
					</ul>
				</li> --%>
				
				<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown">Recursos<b class="caret"></b></a>
					<ul class="dropdown-menu">
						<li><a href="<c:url value='/contato/listar'/>">Contatos</a></li>
					</ul>
				</li>
				
			</ul>			
			<ul class="nav navbar-nav navbar-right">
				<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown">ERP Cortume ${userSession.nome}<b class="caret"></b></a>
					<ul class="dropdown-menu">
						<!-- <li><a href="#">Link 1</a></li>
						<li class="divider"></li> -->
						<li><a href="<c:url value='/logout'/>">Sair</a></li>
					</ul>
				</li>
			</ul>
		</div>
		<!--/.nav-collapse -->
	</div>
</div>